package com.changcheng.project.appupgradelog.service;

import java.util.List;
import com.changcheng.project.appupgradelog.domain.AAppUpgradelogs;
import org.apache.ibatis.annotations.Param;

/**
 * OBU升级记录Service接口
 * 
 * @author dazhi
 * @date 2020-10-31
 */
public interface IAAppUpgradelogsService 
{
    /**
     * 查询OBU升级记录
     * 
     * @param id OBU升级记录ID
     * @return OBU升级记录
     */
    public AAppUpgradelogs selectAAppUpgradelogsById(Long id);

    /**
     * 根据手持终端号查App升级记录
     * @param deviceId
     * @return
     */
    AAppUpgradelogs selectAAppUpgradelogsByDeviceId(String deviceId);

    /**
     * 查询OBU升级记录列表
     * 
     * @param aAppUpgradelogs OBU升级记录
     * @return OBU升级记录集合
     */
    public List<AAppUpgradelogs> selectAAppUpgradelogsList(AAppUpgradelogs aAppUpgradelogs);

    /**
     * 新增OBU升级记录
     * 
     * @param aAppUpgradelogs OBU升级记录
     * @return 结果
     */
    public int insertAAppUpgradelogs(AAppUpgradelogs aAppUpgradelogs);

    /**
     * 修改OBU升级记录
     * 
     * @param aAppUpgradelogs OBU升级记录
     * @return 结果
     */
    public int updateAAppUpgradelogs(AAppUpgradelogs aAppUpgradelogs);

    /**
     * 根据deviceId修改升级记录
     * @param aAppUpgradelogs
     */
    void updateAAppUpgradelogs1(AAppUpgradelogs aAppUpgradelogs);


    /**
     * 批量删除OBU升级记录
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteAAppUpgradelogsByIds(String ids);

    /**
     * 删除OBU升级记录信息
     * 
     * @param id OBU升级记录ID
     * @return 结果
     */
    public int deleteAAppUpgradelogsById(Long id);


}
